package chesskers;

import state.GameState;
import state.Profile;


public class Driver {
	public enum GameStateEnum {
		MainMenu, HistoryCheck, HistoryChess, LoadChess, LoadCheck, CheckSelect1, CheckSelect2, ChessSelect1, ChessSelect2, TimeCheck, TimeChess, ChessGame, CheckGame
	}
	
	public static GameStateEnum state;
	public static GameState gameState;
	public static Profile p1;
	public static Profile p2;
	
	public static long timeLimit;
	
	public static void main(String[] args) {
		java.awt.EventQueue.invokeLater(new Runnable() {
	         public void run() {
	     		state = GameStateEnum.MainMenu;
	    		new UIManager().start();
	         }
	      });
	}
}
